package com.wildish.demo.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.wildish.demo.dao.impl.TestUserTxMapper;
import com.wildish.demo.ebo.TestUser;

@Service
public class TestUserTxService {

	@Resource
	private TestUserTxMapper userDao;
	
	public void workWithTx() {
		userDao.workWithTx();
	}

	public TestUser workWithSqlSession() {
		return userDao.workWithSqlSession();
	}
}
